/// WriteoffTeamQuotePageRequestDto
class WriteoffTeamQuotePageRequestDto {
  /// 当前页 默认 1
  final int? pageNum;
  /// 每页记录数 默认 10
  final int? pageSize;
  /// 卡种类ID
  final int? cardTypeId;
  /// 卡分类ID
  final int? cardCategoryId;
  /// 报价状态（1-有效，0-无效）
  final int? status;

  WriteoffTeamQuotePageRequestDto({
    this.pageNum,
    this.pageSize,
    this.cardTypeId,
    this.cardCategoryId,
    this.status,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (pageNum != null) data['pageNum'] = pageNum;
    if (pageSize != null) data['pageSize'] = pageSize;
    if (cardTypeId != null) data['cardTypeId'] = cardTypeId;
    if (cardCategoryId != null) data['cardCategoryId'] = cardCategoryId;
    if (status != null) data['status'] = status;
    return data;
  }

  factory WriteoffTeamQuotePageRequestDto.fromJson(Map<String, dynamic> json) {
    return WriteoffTeamQuotePageRequestDto(
      pageNum: json['pageNum'],
      pageSize: json['pageSize'],
      cardTypeId: json['cardTypeId'],
      cardCategoryId: json['cardCategoryId'],
      status: json['status'],
    );
  }
}